package com.IntelligentCommunity.algorithm.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @author 美国五星上将麦克阿瑟
 */
@Data
@Configuration
public class ComprefaceConfig {

    @Value("${compreface.url}")
    private String url;

    @Value("${compreface.deploykey}")
    private String deploykey;

    @Value("${compreface.populationkey}")
    private String populationkey;

    @Value("${compreface.detectionkey}")
    private String detectionkey;

    @Value("${compreface.recognitionbaseurl}")
    private String recognitionbaseurl;

    @Value("${compreface.detectionbaseurl}")
    private String detectionbaseurl;

    public String recognitionUrl() {
        return url + recognitionbaseurl;
    }

    public String detectionUrl() {
        return url + detectionbaseurl;
    }


//    public static final String COMPREFACE_URL = "http://47.99.102.63:8000/";
//
//    public static final String DEPLOY_KEY = "2e953853-d489-4030-9e53-688577c411a5";
//
//    public static final String POPULATION_KEY = "19f683d0-27aa-4c32-8810-da2e4bf4014f";
//
//    public static final String DETECTION_KEY = "23f65341-da3a-45ab-a7a7-b0fe6fa99855";
//
//    public static final String RECOGNITION_BASE_URL = "api/v1/recognition/";
//
//    public static final String DETECTION_BASE_URL = "api/v1/detection/";

}
